home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / M-GOULD.H < prev    next >
C/C++ Source or Header  |  1989-06-28  |  751b  |  32 lines

  1. /************** Machine (and compiler) dependent definitions. **************
  2.  *
  3.  *    Define appropriate types for the following ranges of integer
  4.  *    variables.  These are processor & compiler dependent, but the
  5.  *    distributed definitions will probably work on most systems.
  6.  */
  7.  
  8.  
  9.  
  10. /*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  11.  
  12. typedef unsigned char    int8;        /*        0 ..     255 */
  13. typedef short        int16;        /*  -10,000 ..  10,000 */
  14. typedef long        int32;        /* -100,000 .. 100,000 */
  15. typedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  16.  
  17. /*
  18.  *    GOULD/UTX has varargs.h but not v[s]printf()
  19.  */
  20.  
  21. #define NO_VARARGS 
  22.  
  23.  
  24. /*
  25.  *    Not in network byte order on the GOULD
  26.  */
  27.  
  28. #undef NETWORK_BYTE_ORDER    /* */
  29. #ifdef NETWORK_DATABASE
  30. #include <netinet/in.h>
  31. #endif
  32.